<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function f1() {
        console.log("f1")
    }
    f1();
    function f2(name,age) {
        console.log(name+":"+age)
    }
    f2("赵云",23);
    function f3() {
        return "这是ppppp"
    }
    let num = f3();
    console.log(num);

    function f4(x,y) {
        return x*y;
    }

    let result = f4(7,9);
    console.log(result);

    let f5 = function (name,age) {
        console.log(name+":"+age)
    }
    f5("张飞",22);

    let f6 = new Function("name","age","console.log(name+':'+age)");
    f6("haha",45);
</script>
</body>
</html>